//
//  HYLTableViewCell.m
//  UITableViewController的使用
//
//  Created by hyl on 16/5/26.
//  Copyright © 2016年 hyl. All rights reserved.
//

#import "HYLTableViewCell.h"
#import "HYLTuangou.h"
@interface HYLTableViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *icon;
@property (weak, nonatomic) IBOutlet UILabel *titleLable;
@property (weak, nonatomic) IBOutlet UILabel *priceLable;
@property (weak, nonatomic) IBOutlet UILabel *buyCoutLable;
@end
@implementation HYLTableViewCell

#pragma mark - setter/getter
-(void) setTuangou:(HYLTuangou *)tuangou{
    self.icon.image=[UIImage imageNamed:tuangou.icon];
    self.titleLable.text=tuangou.title;
    self.priceLable.text=tuangou.price;
    self.buyCoutLable.text=tuangou.buyCount;
}
@end
